﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Management.Common;

namespace ClientTest
{
    class Tool
    {
        public ServerConnection GetConnectionInformation(string serverName, string databaseName, string login, string password)
        {
            var serverConn = new ServerConnection();
            serverConn.ServerInstance = serverName;
            serverConn.DatabaseName = databaseName;
            serverConn.Login = login;
            serverConn.Password = password;

            return serverConn;
        }
    }
}
